<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="../favicon.ico"> 
    <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="../css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade clearfix">
      <h1 class="clearfix"><a class="col-md-6 title_color H_right H_active" id="Ap1" style="display: inline-block;font-size: 22px" onclick="tiaozhuan(1)">全部所属经销商</a> <a class="col-md-6 title_color"  id="Ap2" style="color:#333;font-size: 22px;display: inline-block;" onclick="tiaozhuan(2)">重点所属经销商</a></h1>
    </div>
    <!-- 标题 -->
    <div>
    <form action="" class="form-inline">
      <table class="row-margin-top tab-content table-bordered table" border="1">
          <tr>
             <td colspan="6"><a href="javascript:;" class="btn btn-info btn-outline">在地图上显示所有经销商</a>&nbsp;&nbsp;<a href="javascript:;" class="btn-info btn btn-outline">在地图上显示所有重点经销商</a>
                <button class="btn btn-info" type="button" style="float: right;">回收站</button>
             </td>
           </tr>
          <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">经销商编号：</label></td>
            <td><input type="text" class="form-control" name=""></td>
			 <td style="min-width: 120px;width: 120px"><label for="" class="form-label">经销商名称：</label></td>
            <td><input type="text" class="form-control" name=""></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label">渠道类型：</label></td>
            <td><input type="text" class="form-control" name=""></td>
		</tr>
		     <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">分区：</label></td>
            <td><input type="text" class="form-control" name=""></td>
			 <td style="min-width: 120px;width: 120px"><label for="" class="form-label">省份：</label></td>
            <td><input type="text" class="form-control" name=""></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label">城市：</label></td>
            <td><input type="text" class="form-control" name=""></td>
		</tr>
		     <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">分区负责人：</label></td>
            <td><input type="text" class="form-control" name=""></td>
			 <td style="min-width: 120px;width: 120px"><label for="" class="form-label">省份负责人：</label></td>
            <td><input type="text" class="form-control" name=""></td>
             <td style="min-width: 120px;width: 120px"><label for="" class="form-label">城市负责人：</label></td>
            <td><input type="text" class="form-control" name=""></td>
		</tr>
		     <tr>
            <td style="min-width: 120px;width: 120px"><label for="" class="form-label">业务人员：</label></td>
            <td colspan="5"><input type="text" class="form-control" name=""></td>
		</tr>
          <tr>
			 <td colspan="6" class="text-center">
           <button class="btn btn-info query" >查询</button>
           <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
           <button class="btn btn-info LendExcel" type="button">导出Excel</button>
            </td>
          </tr>
      </table>
    
      <table class="table row-margin-top table-bordered text-center bud_hei agencyTable1">
                  <tr class="info">
                         <th class="text-center">No.</th>
                         <th class="text-center">经销商编号</th>
                         <th class="text-center">经销商</th>
                         <th class="text-center">分销系统数</th>
                         <th class="text-center">分销网点数</th>
                         <th class="text-center">渠道类型</th>
                         <th class="text-center">销售分区</th>
                         <th class="text-center">省份</th>
                         <th class="text-center">城市</th>
                         <th class="text-center">分区负责人</th>
                         <th class="text-center">省份负责人</th>
                         <th class="text-center">城市负责人</th>
                         <th class="text-center">业务人员</th>
                     </tr>
                            <tbody>
                                <tr class="angency_tableInfo"> 
                                    <td style="width: 6%">1</td>
                                    <td  style="width: 9%"><span>20151113001</span></td>
                                    <td  style="width: 15%"><a href="javascript:;" rol="button">广东省广州市博洁商贸有限公司</a><br><span class="add_import">重点</span><span class="add_span">直营</span></td>
                                    <td  style="width: 7%">3</td>
                                    <td  style="width: 7%">36</td>
                                    <td  style="width: 7%">零售</td>
                                    <td  style="width: 7%">东南大区</td>
                                    <td  style="width: 7%">福建省</td>
                                    <td  style="width: 7%">福州市</td>
                                    <td  style="width: 7%">李四</td>
                                    <td  style="width: 7%">测试职员</td>
                                    <td  style="width: 7%">郭建峰</td>
                                    <td  style="width: 7%">
                                    <div class="textareaInfo">
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                    </div>
                                    </td>
                                </tr>
                                    <tr class="this_tableInfo_alert1">
                                      <td colspan="13">
                                          <ul style="">
                                              <li style="text-align: left;">
                                                  <a href="javascript:;" rol="button">查看详情</a>
                                                  <a href="javascript:;" rol="button"  class="setImportAgency">不负责这个经销商?</a>
                                                  <a href="duizhangdan.html">查看费用对账单</a>
                                                  <a href="javascript:;" rol="button">导出费用对账单明细</a>
                                                  <a href="duizhangdan_huokuan.html" rol="button" class="ckeckStatement">查看货款对账单</a>
                                                  <a href="javascript:;" rol="button">导出货款对账单明细</a>
                                              </li>
                                          </ul>                                         
                                      </td>
                                    </tr>
                                 <tr class="angency_tableInfo"> 
                                    <td style="width: 6%">1</td>
                                    <td  style="width: 9%"><span>20151113001</span></td>
                                    <td  style="width: 15%"><a href="javascript:;" rol="button">广东省广州市博洁商贸有限公司</a><br><span class="add_import">重点</span><span>直营</span></td>
                                    <td  style="width: 7%">3</td>
                                    <td  style="width: 7%">36</td>
                                    <td  style="width: 7%">零售</td>
                                    <td  style="width: 7%">东南大区</td>
                                    <td  style="width: 7%">福建省</td>
                                    <td  style="width: 7%">福州市</td>
                                    <td  style="width: 7%">李四</td>
                                    <td  style="width: 7%">测试职员</td>
                                    <td  style="width: 7%">郭建峰</td>
                                    <td  style="width: 7%"> <div class="textareaInfo">
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                    </div></td>
                                </tr>
                               <tr  class="this_tableInfo_alert1">
                                      <td colspan="13">
                                          <ul style="">
                                              <li style="text-align: left;">
                                                  <a href="javascript:;" rol="button">查看详情</a>
                                                  <a href="javascript:;" rol="button"  class="setImportAgency">不负责这个经销商?</a>
                                                  <a href="duizhangdan.html">查看费用对账单</a>
                                                  <a href="javascript:;" rol="button">导出费用对账单明细</a>
                                                  <a href="duizhangdan_huokuan.html" rol="button" class="ckeckStatement">查看货款对账单</a>
                                                  <a href="javascript:;" rol="button">导出货款对账单明细</a>
                                              </li>
                                          </ul>                                         
                                      </td>
                               </tr>
                                <tr class="angency_tableInfo"> 
                                    <td style="width: 6%">1</td>
                                    <td  style="width: 9%"><span>20151113001</span></td>
                                    <td  style="width: 15%"><a href="javascript:;" rol="button">广东省广州市博洁商贸有限公司</a><br><span class="add_import">重点</span><span class="add_span">直营</span></td>
                                    <td  style="width: 7%">3</td>
                                    <td  style="width: 7%">36</td>
                                    <td  style="width: 7%">零售</td>
                                    <td  style="width: 7%">东南大区</td>
                                    <td  style="width: 7%">福建省</td>
                                    <td  style="width: 7%">福州市</td>
                                    <td  style="width: 7%">李四</td>
                                    <td  style="width: 7%">测试职员</td>
                                    <td  style="width: 7%">郭建峰</td>
                                    <td  style="width: 7%">
                                    <div class="textareaInfo">
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                    </div>
                                    </td>
                                </tr>
                                    <tr class="this_tableInfo_alert1">
                                      <td colspan="13">
                                          <ul style="">
                                              <li style="text-align: left;">
                                                  <a href="javascript:;" rol="button">查看详情</a>
                                                  <a href="javascript:;" rol="button"  class="setImportAgency">不负责这个经销商?</a>
                                                  <a href="duizhangdan.html">查看费用对账单</a>
                                                  <a href="javascript:;" rol="button">导出费用对账单明细</a>
                                                  <a href="duizhangdan_huokuan.html" rol="button" class="ckeckStatement">查看货款对账单</a>
                                                  <a href="javascript:;" rol="button">导出货款对账单明细</a>
                                              </li>
                                          </ul>                                         
                                      </td>
                                    </tr>
                                   <tr class="angency_tableInfo"> 
                                    <td style="width: 6%">1</td>
                                    <td  style="width: 9%"><span>20151113001</span></td>
                                    <td  style="width: 15%"><a href="javascript:;" rol="button">广东省广州市博洁商贸有限公司</a><br><span class="add_import">重点</span><span class="add_span">直营</span></td>
                                    <td  style="width: 7%">3</td>
                                    <td  style="width: 7%">36</td>
                                    <td  style="width: 7%">零售</td>
                                    <td  style="width: 7%">东南大区</td>
                                    <td  style="width: 7%">福建省</td>
                                    <td  style="width: 7%">福州市</td>
                                    <td  style="width: 7%">李四</td>
                                    <td  style="width: 7%">测试职员</td>
                                    <td  style="width: 7%">郭建峰</td>
                                    <td  style="width: 7%">
                                    <div class="textareaInfo">
                                      <span>李四</span>
                                      <span>李四</span>
                                      <span>李四</span>
                                    </div>
                                    </td>
                                </tr>
                                    <tr class="this_tableInfo_alert1">
                                      <td colspan="13">
                                          <ul style="">
                                              <li style="text-align: left;">
                                                  <a href="javascript:;" rol="button">查看详情</a>
                                                  <a href="javascript:;" rol="button"  class="setImportAgency">不负责这个经销商?</a>
                                                  <a href="duizhangdan.html">查看费用对账单</a>
                                                  <a href="javascript:;" rol="button">导出费用对账单明细</a>
                                                  <a href="duizhangdan_huokuan.html" rol="button" class="ckeckStatement">查看货款对账单</a>
                                                  <a href="javascript:;" rol="button">导出货款对账单明细</a>
                                              </li>
                                          </ul>                                         
                                      </td>
                                    </tr>
                 </tbody>
      </table>
        <h5 class="text-center">
            总共有1条记录，第4页,当前页<input id="page" type="text" style="width: 40px" value="" /><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp; 每页显示
            <select id="pagesize" style="width: 60px">
            <option value='5'>5条</option>
            <option value='10'>10条</option>
          </select>
        </h5>
</form>
    </div>
    <!-- 全局js -->
    <script src="../js/jquery.min.js?v=2.1.4"></script>
    <script src="../js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="../js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->

    <script src="../js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="../js/plugins/layer/laydate/laydate.js"></script>
    <script src="../js/common.js"></script>
    <script>
      function tiaozhuan(num){
        var a = document.getElementById('Ap'+num);
          a.href="belongtoAgency"+num+".html";
      }
      
     
        $(document).ready(function(){
        	var $ObjectNum =$(".ObjectNum");
        	   toNum($ObjectNum);

          /*关闭弹出框方法*/
          var del_this =$(".del_this");
          console.log(del_this.length)
          for(var i=0,len=del_this.length;i<len;i++){
            del_this[i].onclick=function(){
              $(this).parent().parent().parent().hide()
            }
          };
           $(".angency_tableInfo>td>a").click(function(){
                 $(this).parents("tr").next(".this_tableInfo_alert1").toggle().siblings(".this_tableInfo_alert1").hide();
                 $(this).parents("tr").addClass("trBackgroundColor").siblings("tr").removeClass("trBackgroundColor");
          })
            $(".H_title>div").click(function(){
               var $index = $(this).index();
            $(this).addClass("AgencyTitleActive")
                .siblings().removeClass("AgencyTitleActive");

            $("#chooseTitle").find(".Agencycontent1").eq($index).addClass("AgencycontentActive")
                .siblings().removeClass("AgencycontentActive");
              // console.log(1)
                  // $(this).addClass("AgencyTitleActive").siblings().removeClass("AgencyTitleActive")
          })
          /*设置成功弹出框*/
          $("table tr td .setImportAgency").click(function() { 
            swal({ 
						  title: "", 
						  text: "您确定不负责这个经销商?如果确定，则您将失去这家经销商的所有权!", 
						  type: "warning",
						  showCancelButton: true, 
						  confirmButtonColor: "#DD6B55",
						  confirmButtonText: "确定", 
						  cancelButtonText: "取消",
						  closeOnConfirm: false, 
						  closeOnCancel: false
						},
						function(isConfirm){ 
						  if (isConfirm) {
						   
						  } else { 
						   
						  } 
					});

        });  
        });  
     
    </script>
</body>

</html>
